We'll need a ball and paddle to play the game.

  • Drag in a Rectangle at the bottom of your program, OUTSIDE any loops.
  • Name the rectangle paddle. Change the y-coordinate to -210, width to 60 and height to 10.
  • Drag in a Circle and name it ball.
  • Change the diameter to 15 and set the color to "red".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)